home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
cprog.EXE
/
CLSCMP11.ZIP
/
MEMDEMO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-26
|
525b
|
28 lines
/* To Compile:
bcc -ml memdemo.c c3meml.obj c1meml.obj */
#include "c3mem.h"
#include "c1mem.h"
#include <stdlib.h>
#include <stdio.h>
#include <dos.h>
#include <conio.h>
unsigned char far *VGA= MK_FP(0xa000,0x0000);
void main ( void )
{
asm mov ax, 0x0013;
asm int 0x10;
CLS_MemDecompress ( "colorbar.cl3" , VGA );
getch();
_fmemset(VGA,0,64000);
CLSC1_Memdecompress ( "colorbar.cl1" , VGA );
getch();
asm mov ax, 0x0003;
asm int 0x10;
}